Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / NamedStyleCollection Class / CopyTo Method / CopyTo(NamedStyle[],Int32) Method
One-dimensional array into which are copied the elements from ICollection (The array must have zero-based indexing.)
Zero-based index in array at which to paste styles.
Example


In This Topic
    CopyTo(NamedStyle[],Int32) Method
    In This Topic
    Copies the styles in the collection to a specified array at a specified position.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub CopyTo( _
       ByVal namedStyles() As NamedStyle, _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As NamedStyleCollection
    Dim namedStyles() As NamedStyle
    Dim index As Integer
     
    instance.CopyTo(namedStyles, index)
    public virtual void CopyTo( 
       NamedStyle[] namedStyles,
       int index
    )

    Parameters

    namedStyles
    One-dimensional array into which are copied the elements from ICollection (The array must have zero-based indexing.)
    index
    Zero-based index in array at which to paste styles.
    Example
    This example copies a style to an array at the specified index.
    See Also